Skip to content

Adopt @microbit/eslint-config - #10

Merged
microbit-matt-hillsdon merged 1 commit into
mainfrom
shared-eslint-config
Sep 1, 2026
Merged

Adopt @microbit/eslint-config#10
microbit-matt-hillsdon merged 1 commit into
mainfrom
shared-eslint-config

Conversation

@microbit-matt-hillsdon

Copy link
Copy Markdown
Contributor

Replaces the legacy .eslintrc.cjs and per-project plugin set with the shared flat config, moving to ESLint 9. As in makecode-embed, eslint-plugin-storybook stays a project dependency since its version tracks Storybook's release cycle.

Fixes for the type-aware rules the shared config enables:

  • Type the frame driver listener's event.data, previously any, via a narrow local type the existing per-message casts build on.
  • Mark the intentionally unawaited handleWorkspaceSync call with void and drop async from initialProjects callbacks with no await.

The lockfile is regenerated as npm could not resolve the ESLint major bump in place.

Replaces the legacy .eslintrc.cjs and per-project plugin set with the
shared flat config, moving to ESLint 9. As in makecode-embed,
eslint-plugin-storybook stays a project dependency since its version
tracks Storybook's release cycle.

Fixes for the type-aware rules the shared config enables:

- Type the frame driver listener's event.data, previously any, via a
  narrow local type the existing per-message casts build on.
- Mark the intentionally unawaited handleWorkspaceSync call with void
  and drop async from initialProjects callbacks with no await.

The lockfile is regenerated as npm could not resolve the ESLint major
bump in place.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying python-editor-embed with  Cloudflare Pages  Cloudflare Pages

Latest commit: ee84ea4
Status: ✅  Deploy successful!
Preview URL: https://501ec7ec.python-editor-embed.pages.dev
Branch Preview URL: https://shared-eslint-config.python-editor-embed.pages.dev

View logs

@microbit-matt-hillsdon
microbit-matt-hillsdon merged commit cea1942 into main Sep 1, 2026
4 checks passed
@microbit-matt-hillsdon
microbit-matt-hillsdon deleted the shared-eslint-config branch September 1, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant